<%@ include file="IsStudent.jsp"%>
<%@ page import="java.sql.*,database.*"%>
<%
// Execute query and save results.
try{
	new DBCon().updateChoices(
				(String) session.getAttribute("id"),
				request.getParameter("1"),
				request.getParameter("2"),
				request.getParameter("3"),
				request.getParameter("4"),
				request.getParameter("5"));
		response.sendRedirect("../Student/index.jsp");
		}
catch(Exception e)
{
    response.sendRedirect("../connectionFailed.jsp?"+e);
}

%>